package com.go.where.family.dao;

import java.util.List;

import com.go.where.family.pojo.CustomerCommentInfo;

/**
 * 客户评论信息dao
 * 
 * @author java
 * 
 */
public interface CustomerCommentDao extends
		BaseDao<CustomerCommentInfo, String> {

	/**
	 * 查询最新的一条评论
	 * 
	 * @param customerId
	 * @return
	 */
	public String queryLastOneComment(String customerId);
	
	/**
	 * 通过评论类型和对应的id查询customerId列表
	 * @param comment
	 * @return
	 */
	public List<String> queryByTypeAndAid(CustomerCommentInfo comment);
}
